Optimal. Leaf size=142 \[ \frac{\sqrt{b x^2+c x^4} (2 b B-3 A c)}{2 b^2 c x^3}-\frac{(2 b B-3 A c) \tanh ^{-1}\left (\frac{\sqrt{b} x}{\sqrt{b x^2+c x^4}}\right )}{2 b^{5/2}}-\frac{2 b B-3 A c}{3 b c x \sqrt{b x^2+c x^4}}-\frac{B}{3 c x \sqrt{b x^2+c x^4}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0887823, antiderivative size = 142, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 5, integrand size = 23, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.217, Rules used = {1145, 2006, 2025, 2008, 206} \[ \frac{\sqrt{b x^2+c x^4} (2 b B-3 A c)}{2 b^2 c x^3}-\frac{(2 b B-3 A c) \tanh ^{-1}\left (\frac{\sqrt{b} x}{\sqrt{b x^2+c x^4}}\right )}{2 b^{5/2}}-\frac{2 b B-3 A c}{3 b c x \sqrt{b x^2+c x^4}}-\frac{B}{3 c x \sqrt{b x^2+c x^4}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 1145
Rule 2006
Rule 2025
Rule 2008
Rule 206
Rubi steps
\begin{align*} \int \frac{A+B x^2}{\left (b x^2+c x^4\right )^{3/2}} \, dx &=-\frac{B}{3 c x \sqrt{b x^2+c x^4}}+\frac{(-2 b B+3 A c) \int \frac{1}{\left (b x^2+c x^4\right )^{3/2}} \, dx}{3 c}\\ &=-\frac{B}{3 c x \sqrt{b x^2+c x^4}}-\frac{2 b B-3 A c}{3 b c x \sqrt{b x^2+c x^4}}+\frac{(-2 b B+3 A c) \int \frac{1}{x^2 \sqrt{b x^2+c x^4}} \, dx}{b c}\\ &=-\frac{B}{3 c x \sqrt{b x^2+c x^4}}-\frac{2 b B-3 A c}{3 b c x \sqrt{b x^2+c x^4}}+\frac{(2 b B-3 A c) \sqrt{b x^2+c x^4}}{2 b^2 c x^3}+\frac{(2 b B-3 A c) \int \frac{1}{\sqrt{b x^2+c x^4}} \, dx}{2 b^2}\\ &=-\frac{B}{3 c x \sqrt{b x^2+c x^4}}-\frac{2 b B-3 A c}{3 b c x \sqrt{b x^2+c x^4}}+\frac{(2 b B-3 A c) \sqrt{b x^2+c x^4}}{2 b^2 c x^3}-\frac{(2 b B-3 A c) \operatorname{Subst}\left (\int \frac{1}{1-b x^2} \, dx,x,\frac{x}{\sqrt{b x^2+c x^4}}\right )}{2 b^2}\\ &=-\frac{B}{3 c x \sqrt{b x^2+c x^4}}-\frac{2 b B-3 A c}{3 b c x \sqrt{b x^2+c x^4}}+\frac{(2 b B-3 A c) \sqrt{b x^2+c x^4}}{2 b^2 c x^3}-\frac{(2 b B-3 A c) \tanh ^{-1}\left (\frac{\sqrt{b} x}{\sqrt{b x^2+c x^4}}\right )}{2 b^{5/2}}\\ \end{align*}
Mathematica [C] time = 0.0240062, size = 61, normalized size = 0.43 \[ \frac{x^2 (2 b B-3 A c) \, _2F_1\left (-\frac{1}{2},1;\frac{1}{2};\frac{c x^2}{b}+1\right )-A b}{2 b^2 x \sqrt{x^2 \left (b+c x^2\right )}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.01, size = 129, normalized size = 0.9 \begin{align*} -{\frac{ \left ( c{x}^{2}+b \right ) x}{2} \left ( 3\,A{b}^{3/2}{x}^{2}c-3\,A\ln \left ( 2\,{\frac{\sqrt{b}\sqrt{c{x}^{2}+b}+b}{x}} \right ) \sqrt{c{x}^{2}+b}{x}^{2}bc-2\,B{b}^{5/2}{x}^{2}+2\,B\ln \left ( 2\,{\frac{\sqrt{b}\sqrt{c{x}^{2}+b}+b}{x}} \right ) \sqrt{c{x}^{2}+b}{x}^{2}{b}^{2}+A{b}^{{\frac{5}{2}}} \right ) \left ( c{x}^{4}+b{x}^{2} \right ) ^{-{\frac{3}{2}}}{b}^{-{\frac{7}{2}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{B x^{2} + A}{{\left (c x^{4} + b x^{2}\right )}^{\frac{3}{2}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.48199, size = 549, normalized size = 3.87 \begin{align*} \left [-\frac{{\left ({\left (2 \, B b c - 3 \, A c^{2}\right )} x^{5} +{\left (2 \, B b^{2} - 3 \, A b c\right )} x^{3}\right )} \sqrt{b} \log \left (-\frac{c x^{3} + 2 \, b x + 2 \, \sqrt{c x^{4} + b x^{2}} \sqrt{b}}{x^{3}}\right ) + 2 \, \sqrt{c x^{4} + b x^{2}}{\left (A b^{2} -{\left (2 \, B b^{2} - 3 \, A b c\right )} x^{2}\right )}}{4 \,{\left (b^{3} c x^{5} + b^{4} x^{3}\right )}}, \frac{{\left ({\left (2 \, B b c - 3 \, A c^{2}\right )} x^{5} +{\left (2 \, B b^{2} - 3 \, A b c\right )} x^{3}\right )} \sqrt{-b} \arctan \left (\frac{\sqrt{c x^{4} + b x^{2}} \sqrt{-b}}{c x^{3} + b x}\right ) - \sqrt{c x^{4} + b x^{2}}{\left (A b^{2} -{\left (2 \, B b^{2} - 3 \, A b c\right )} x^{2}\right )}}{2 \,{\left (b^{3} c x^{5} + b^{4} x^{3}\right )}}\right ] \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{A + B x^{2}}{\left (x^{2} \left (b + c x^{2}\right )\right )^{\frac{3}{2}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \mathit{sage}_{0} x \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]